package com.service.business.order.controller.rep;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.Date;

/**
 * <dl>
 * <dt>back-end</dt>
 * <dd>Description:</dd>
 * <dd>Copyright: Copyright (C) 2015</dd>
 * <dd>Company: </dd>
 * <dd>CreateDate: 2019年11月20日</dd>
 * </dl>
 *
 * @author
 */
@Getter
@Setter
@ToString
public class OrderLockComboPageRep {
	/**
	 * 订单id
	 */
	private Integer id;
	/**
	 * 订单号
	 */
	private String lockNo;

	/**
	 * 总算力
	 */
	private BigDecimal lockNum;
	/**
	 * 订单累计收益，单位USDT
	 */
	private BigDecimal totalIncome;
	/**
	 * 年利率，单位:%
	 */
	private BigDecimal yearInterestRate;

	private Integer lockDay;

	private String orderMoneyCoin;

	/**
	 * 支付方式(1:usdt全付，2:usdt+usdf)
	 */
	private Integer payType;
	/**
	 * 订单状态  -1:未支付已过期 0:未支付 1:已支付 2:已支付生效 3:已完成
	 */
	private Integer orderStatus;
	/**
	 * 付款时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date payTime;
	/**
	 *
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date startTime;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date endTime;

	private Long validTime;
}
